package string;

/**
 *将当前字符串中满足正则表达式的部分替换
 */
public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line="123uii456oo789jdk";
        String mvc=line.replaceAll("[0-9]+","我是坤坤");
        System.out.println(mvc);

    }
}
